#ifndef APTHISTORY_H
#define APTHISTORY_H

#include <QWidget>
#include <ztbox.h>

namespace Ui {
class AptHistory;
}

class AptHistory : public QWidget
{
    Q_OBJECT

public:
    explicit AptHistory(QWidget *parent = nullptr);
    ~AptHistory();

private:
    Ui::AptHistory *ui;
};

class AptHistoryPlugin : public ZTBoxInterface
{
    Q_OBJECT


    // ZTBoxInterface interface
public:
    QString PluginName() override {
        return ">AptHistory";
    };
    bool PluginxAlwaysDisplay() override {
        return true;
    };
    bool pluginAutoLoader() override {
        return false;
    };
    QWidget *pluginAutoLoaderProcess() override {
        static auto o = new AptHistory;
        return o;
    };
    bool pluginShowResetPosistion() override {
        return true;
    };
};

#endif // APTHISTORY_H
